$(function(){
	$.ajax({
			type: "POST",
			url: "http://yx.fxtourong.com/V1/Member/hasCreateGoods",
			data: {
				token : localStorage.getItem("token")
			},
			dataType: "json",
			success: function(data) {
				console.log(data);
				var code = data.code;
				if(code == "1") {
					//有权限创建
					
				} else {
					//没有权限创建
					
				}
			}
		});
});